<%@page import="java.util.Date"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<head>


</head>
<body>
	<div class="content">
		<div class="login-block">
			<div class="title">TẠO TÀI KHOẢN</div>
			<form:form name='registerForm' commandName="registerInfo" action="register.html" method='POST'>
				<div class="form">

					<div>
						<label>Tên Đăng Nhập: <em>*</em></label>
						<form:input type="text" path="userName"/>
						<font color="red"> <form:errors path="userName"></form:errors></font>
					</div>

					<div>
						<label>Họ: </label>
						<form:input type="text" path="lastName" />
					</div>

					<div>
						<label>Tên: </label>
						<form:input type="text" path="firstName"/>
					</div>

					<div>
						<label>Mật Khẩu: <em>*</em></label>
						<form:input type="password" path="passWord"/>
						<font color="red"> <form:errors path="passWord"></form:errors></font>
					</div>

					<div>
						<label>Nhập Lại Mật Khẩu: <em>*</em></label>
						<form:input type="password" path="rePassWord"/>
						<font color="red"> <form:errors path="rePassWord"></form:errors></font>
					</div>

					<div>
						<label>Email: <em>*</em></label>
						<form:input type="text" path="email" />
						<font color="red"> <form:errors path="email"></form:errors></font>
					</div>

					<div>
						<form:label path="gender">Giới Tính:</form:label>
						<form:select path="gender"
							style="margin-left: -570px">
							<form:option value="Nam" label="Nam" />
							<form:option value="Nữ" label="Nữ" />
						</form:select>
					</div>

					<div>
						<label>Điện Thoại: </label>
						<form:input type="text" path="phone" />
					</div>

					<div>
						<label>Địa Chỉ:</label>
						<form:input type="text" path="address"/>
					</div>

					<input type="submit" title="Đăng Ký" value="Đăng Ký" />
				</div>
			</form:form>
		</div>
	</div>
	<!-- CONTENT : START -->

</body>